package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.Students3Mapper;
import com.ruoyi.system.domain.Students3;
import com.ruoyi.system.service.IStudents3Service;

/**
 * 学生表3Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-02-14
 */
@Service
public class Students3ServiceImpl implements IStudents3Service 
{
    @Autowired
    private Students3Mapper students3Mapper;

    /**
     * 查询学生表3
     * 
     * @param studentId 学生表3主键
     * @return 学生表3
     */
    @Override
    public Students3 selectStudents3ByStudentId(Integer studentId)
    {
        return students3Mapper.selectStudents3ByStudentId(studentId);
    }

    /**
     * 查询学生表3列表
     * 
     * @param students3 学生表3
     * @return 学生表3
     */
    @Override
    public List<Students3> selectStudents3List(Students3 students3)
    {
        return students3Mapper.selectStudents3List(students3);
    }

    /**
     * 新增学生表3
     * 
     * @param students3 学生表3
     * @return 结果
     */
    @Override
    public int insertStudents3(Students3 students3)
    {
        return students3Mapper.insertStudents3(students3);
    }

    /**
     * 修改学生表3
     * 
     * @param students3 学生表3
     * @return 结果
     */
    @Override
    public int updateStudents3(Students3 students3)
    {
        return students3Mapper.updateStudents3(students3);
    }

    /**
     * 批量删除学生表3
     * 
     * @param studentIds 需要删除的学生表3主键
     * @return 结果
     */
    @Override
    public int deleteStudents3ByStudentIds(Integer[] studentIds)
    {
        return students3Mapper.deleteStudents3ByStudentIds(studentIds);
    }

    /**
     * 删除学生表3信息
     * 
     * @param studentId 学生表3主键
     * @return 结果
     */
    @Override
    public int deleteStudents3ByStudentId(Integer studentId)
    {
        return students3Mapper.deleteStudents3ByStudentId(studentId);
    }
}
